ExamPlay Light Logo
Oturum aç

Computer Science for IGCSE & O level - Programming (Section 4 - No. 3)

What is a disadvantage of using global variables extensively?
They make the code more modular.
They can be easily accessed by any part of the program, leading to potential unintended modifications.
They are easier to debug.
They reduce code duplication.

Açıklama

Global variables have a broad scope; uncontrolled modification can lead to unexpected behavior and make debugging difficult.

Yorumlar (0)

Yorum yapmak için giriş yapın
Reklamcılık
BrainBehindX Inc Logo
©2026; Tarafından desteklenmektedir BrainBehindX Inc